home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1993 / MacHack 1993.toast / MacHack™ 1987-1992 / MacHack™ '90 / MacHack 90 Contest Entries / Surovell Stuffƒ / Pollyƒ / PolyUtils.h < prev   
Encoding:
C/C++ Source or Header  |  1990-06-10  |  765 b   |  46 lines  |  [TEXT/KAHL]

  1. /*
  2.     Copyright © 1990 by Succinct Systems
  3.  
  4.     433 Huronview
  5.     Ann Arbor, MI 48103
  6.     (313) 663-4903
  7.  
  8.     File:         PolyUtils.h
  9.     Model:         THINK C 4.0, MPW C 3.0
  10.  
  11.     ABSTRACT:
  12.         generate regular polygons and lists of endpoints
  13.  
  14.     NOTES:
  15.         none yet.
  16.  
  17.     KNOWN BUGS:
  18.         none yet.
  19.  
  20.     HISTORY:
  21.         DAS 10-Jun-90    created this file    (David A. Surovell)
  22. */
  23.  
  24. #include <StdMacIncludes.h>                /* include standard Mac headers */
  25. #include <Compatibility.h>                /* define compatibility control structures */
  26. #include <SANE.h>
  27.  
  28. #define _H_PolyUtils
  29.  
  30.  
  31. typedef Point    *PointPtr;
  32.  
  33. OSErr CreateRegularPoly(
  34.     PolyHandle    *thisPoly,
  35.     short        sideCount,
  36.     short        vertexRadius,
  37.     short        degreeOffset );
  38.  
  39. OSErr CreateVertexList(
  40.     PointPtr    *pointList,
  41.     short        sideCount,
  42.     short        vertexRadius,
  43.     short        degreeOffset );
  44.  
  45.  
  46.